﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream
{
    class DeliveryRobot : Robot
    {
        private string item;
      

        public string Item { get => item; set => item = value; }

        public DeliveryRobot(string name, RobotTybe tybe, string item) :base(name, tybe)
        {
            this.item = item;
        }

        public override void Working()
        {
            Console.WriteLine("我是{0}，我{1}。", base.Name, this.item);
        }
    }
}
